#include <iostream>
#include "glog/logging.h"
#include "gtest/gtest.h"
#include "log.h"

int main(int argc, char **argv)
{
    std::cout << "hello, main" << std::endl;

    google::InitGoogleLogging(argv[0]);
    FLAGS_stderrthreshold = 0;
    LOG_ERROR << "hello, glog";
    LOG_WARNING << "hello, glog";
    LOG_INFO << "hello, glog";

    testing::InitGoogleTest(&argc, argv);
    return RUN_ALL_TESTS();
}